package com.tongtech.system.domain;

import com.tongtech.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工单支持人员表 work_order_support
 *
 * @author xingyc
 */
public class WorkOrderSupport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 创建人的用户id */
    private Long userId;

    /** 创建人的部门id */
    private Long deptId;

    /** id */
    private Long supportId;

    /** 工单支持人员id */
    private Long workOrderId;

    /** 工单支持人员ID, 来源于用户id */
    private Long supportPerson;

    /** 工单支持人员姓名, 来源于用户昵称 */
    private String supportPersonName;

    /** 工单支持人员状态:0-正常,1-停用 */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getSupportId() {
        return supportId;
    }

    public void setSupportId(Long supportId) {
        this.supportId = supportId;
    }

    public Long getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(Long workOrderId) {
        this.workOrderId = workOrderId;
    }

    public Long getSupportPerson() {
        return supportPerson;
    }

    public void setSupportPerson(Long supportPerson) {
        this.supportPerson = supportPerson;
    }

    public String getSupportPersonName() {
        return supportPersonName;
    }

    public void setSupportPersonName(String supportPersonName) {
        this.supportPersonName = supportPersonName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supportId", getSupportId())
            .append("workOrderId", getWorkOrderId())
            .append("supportPerson", getSupportPerson())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
